﻿using System;
using System.Windows.Forms;
using System.Threading;

namespace Autumoon.OpenSource.TScreenSaver.Forms
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Cursor.Hide();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            try
            {
                Application.Run(ScreenSaverForm.Instance);
            }
            catch
            {
                Application.Exit();
            }
        }
    }
}